package id

import uuid "github.com/satori/go.uuid"

// GetUuidV4 获取uuid,大概长这样：xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
func GetUuidV4() string {
	return uuid.NewV4().String()
}

func GetUuidV5(salt string) string {
	return uuid.NewV5(uuid.NamespaceX500, salt).String()
}
